#pragma once
#include "afxcmn.h"

// CMyProgress

class CMyProgress : public CProgressCtrl
{
	DECLARE_DYNAMIC(CMyProgress)

public:
	CMyProgress();
	virtual ~CMyProgress();

	CImage m_imgBar;
	CImage m_imgBack;
	CImage m_imgFull;
	int m_BackWide;
	int m_backHight;
	CBrush m_brush;
	CBitmap m_bmpWnd;

	void UpdateMemDc(CDC* pDC, CRect& rt);

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPaint();
};


